// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import resource from 'vue-resource'
import '../static/css/animate.css'
import '../static/css/icomoon.css'
import '../static/css/bootstrap.css'
import '../static/css/flexslider.css'
import '../static/css/style.min.css'
import '../static/css/github.css'
import '../static/css/monokai-sublime.css'

// import '../static/js/jquery.min.js'
import '../static/js/jquery.easing.1.3.js'
import '../static/js/bootstrap.min.js'
import '../static/js/jquery.waypoints.min.js'
import '../static/js/jquery.flexslider-min.js'
import '../static/js/common.js'
Vue.use(resource)
Vue.config.productionTip = false
global.domain = 'https://www.wangyanan.online/'

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App },
  data: {
    currentRoute: window.location.pathname
  }
})
